package com.rlax.ccdemo.springboot.admin;

import com.rlax.ccdemo.base.consts.AppName;
import com.rlax.corebin.launch.listener.CorebinApplication;
import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Springboot Admin
 * @author Rlax
 *
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableAdminServer
public class SpringBootAdminServerApplication {
    public static void main(String[] args) {
        CorebinApplication.run(AppName.SUPPORT_SPRING_BOOT_ADMIN, SpringBootAdminServerApplication.class, args);
    }
}
